#include<stdio.h>
#include<stdlib.h>
#include<assert.h>
//
typedef int Elemtype;

//定义链表节点结构
typedef struct CNode
{
	Elemtype data;
	struct CNode* next;
}CNode;

//链表函数操作声明
//判空
int isEmpty();
//尾插
void insertTail(Elemtype e);
//头插
void insertHead(Elemtype e);
//头删
void deleteHead();
//尾删
void deleteTail();
//遍历
void traverse();
//查找
int search(int key);
//销毁
void freeList();

